<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-jiugonggeRecord-edit" th:object="${jiugonggeRecord}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">活动ID：</label>
				<div class="col-sm-8">
					<input id="actId" name="actId" th:field="*{actId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">抽奖人openid：</label>
				<div class="col-sm-8">
					<input id="openid" name="openid" th:field="*{openid}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">昵称：</label>
				<div class="col-sm-8">
					<input id="nickname" name="nickname" th:field="*{nickname}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">奖项：</label>
				<div class="col-sm-8">
					<input id="awardsId" name="awardsId" th:field="*{awardsId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否中奖：’0‘:否；’1‘:是：</label>
				<div class="col-sm-8">
					<input id="awardStatus" name="awardStatus" th:field="*{awardStatus}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">兑奖码：</label>
				<div class="col-sm-8">
					<input id="awardCode" name="awardCode" th:field="*{awardCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">领奖状态：‘0’：未领取；‘1’：已领取：</label>
				<div class="col-sm-8">
					<input id="recieveStatus" name="recieveStatus" th:field="*{recieveStatus}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">领奖时间：</label>
				<div class="col-sm-8">
					<input id="recieveTime" name="recieveTime" th:field="*{recieveTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">抽奖时间：</label>
				<div class="col-sm-8">
					<input id="awardTime" name="awardTime" th:field="*{awardTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">收货人姓名：</label>
				<div class="col-sm-8">
					<input id="realname" name="realname" th:field="*{realname}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">收货人手机号：</label>
				<div class="col-sm-8">
					<input id="phone" name="phone" th:field="*{phone}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">收货人地址：</label>
				<div class="col-sm-8">
					<input id="address" name="address" th:field="*{address}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">抽奖序号：</label>
				<div class="col-sm-8">
					<input id="seq" name="seq" th:field="*{seq}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">公众号原始id：</label>
				<div class="col-sm-8">
					<input id="jwid" name="jwid" th:field="*{jwid}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "jiugongge/jiugonggeRecord";
		$("#form-jiugonggeRecord-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-jiugonggeRecord-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
